<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
    <%   
    String path = request.getContextPath();   
   // String path = request.getScheme()+"://" +request.getServerName()+":" +request.getServerPort()+vpath+"" ;   
    %> 
<html lang="zh-cn" style="overflow: hidden">
<head lang="en">
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>应急指挥平台</title>
    <!-- 字体图标-->
    <link rel="stylesheet" type="text/css" href="<%=path%>/uc/public/css/font-awesome.min.css">
    <!-- Bootstrap -->
    <link href="<%=path%>/uc/public/css/bootstrap.min.css" rel="stylesheet">
    <!-- 通用css-->
    <link rel="stylesheet" type="text/css" href="<%=path%>/uc/public/css/commom.css">
    <link href="<%=path%>/uc/public/css/nav.css" rel="stylesheet">
    <link href="<%=path%>/uc/public/css/css.css" rel="stylesheet">
    <!-- 日期-->
    <script src="<%=path%>/uc/public/css/laydate/laydate.js"></script>
    <script type="text/javascript" src="<%=path%>/uc/public/js/angular.js"></script>
    <script type="text/javascript"	src="<%=path%>/uc/public/plug/dialog/ligerDialog.js" charset="UTF-8">
		</script>
</head>

<body>
<!--表头-->
<div class="X-head">
    <div>
        <img src="<%=path%>/uc/public/images/logo.png"
        onClick="javascript:back_homepage();" /> 智慧应急指挥平台
    </div>
    <div>
        <span class="Tser">
               <span class="T-search ">
               <input class="Search-input" placeholder=""/>
                   <i class="fa fa-search" aria-hidden="true" style="color: #76bbe3"></i>
               </span>
        </span>
        <span class="Tser">
            <div class="t-xin">
                 10
            </div>
           <i class="fa fa-envelope" aria-hidden="true"></i>
        </span>
        <span class="Tser">
            <i class="fa fa-fax" aria-hidden="true"></i>
             </span>
        <span class="Tser t-ren">
            接警人员：${loginUserName}
            <c:choose>
				<c:when test="${empty employee_obj.picture }">
					<img src="<%=path%>/uc/public/images/shou/tou.png">
				</c:when>
				<c:otherwise>
					<img src="<%=path%>/uc${employee_obj.picture }"	style="margin-top: 14px;" width="30" height="42" />
				</c:otherwise>
			</c:choose>
            
        </span>
        <span class="Tser1">
        <a href="<%=path%>/uc/loginout.action"><i class="fa fa-external-link" aria-hidden="true"></i></a>
            
            
        </span>

    </div>
</div>

<nav class="nav-collapse menuuls">
    <ul>
    
    <c:forEach var="rolelimit" items="${rolelimit_list}" varStatus="status"> 
        <li>
        <a class="bian" onClick="$('#right_div').load('fenweb/right_html.html')">
        	<i class="${rolelimit.navigationIcon }" aria-hidden="true" style="font-size: 16px;"></i>   
         	${rolelimit.navigationName}
         </a>

					<div class="chilNav">
						<div class="row chilNavCar">
							<div class="company-wrap">
								<!-- <div class="company-prev" id="prev"></div> -->
								<div class="company-box" id="slide-content"
									style="width: 1200px; overflow: auto;">
									<c:forEach var="rolelimit2" items="${rolelimit_all}" varStatus="status">
										<c:if test="${rolelimit2.navigationParentId == rolelimit.navigationId}">
											<div class="slide-list">
												<div class="slide"
													style="border-right: 1px solid #ededed; border-left: 1px solid #ededed; padding: 10px 0 10px 30px; margin-top: 15px;">

													<table class="t-b1">
														<thead>
															<tr>
																													
																<th>
																<c:choose>
																    <c:when test="${empty rolelimit2.navigationUrl}">
																        ${rolelimit2.navigationName}
																    </c:when>
																    <c:otherwise>
																        <a onClick="$('#right_div').load('<%=path %>/${rolelimit2.navigationUrl}?currentNavId=${rolelimit2.navigationId}')">${rolelimit2.navigationName}</a>
																    </c:otherwise>
																	</c:choose>
																
																</th>
															</tr>
														</thead>
														<c:forEach var="rolelimit3" items="${rolelimit_all}" varStatus="status">
															<c:if
																test="${rolelimit3.navigationParentId == rolelimit2.navigationId}">
																<tr>
																	<td>
																	<a onClick="$('#right_div').load('<%=path %>/${rolelimit3.navigationUrl}?currentNavId=${rolelimit3.navigationId}')">
																	${rolelimit3.navigationName}
																	</a>
																	</td>
																</tr>

															</c:if>
														</c:forEach>
													</table>

												</div>
											</div>
										</c:if>



									</c:forEach>
								</div>
							</div>
						</div>
					</div>






				</li>  
        
      </c:forEach>        

    </ul>
</nav>

<!-- 内容   列表-->
<div class="t-list" id="right_div">
<%--     <div class="tbiao">
        <p><i class="fa fa-calendar-o" aria-hidden="true"></i> 应急保障/ 应急场地保障 </p>
        <div class="tfg-k">
            <div style="display: inline-block;float: right;">
                <button type="button" class=" btn btn-default"><i class="fa fa-download"></i>下载模板
                </button>
                <button type="button" class=" btn btn-default"><i class="fa fa-sign-in"></i> 导入</button>
                <button type="button" class=" btn btn-default"><i class="fa fa-sign-out"></i> 导出</button>
                <button data-toggle="modal" data-target="#myModal" type="button" class=" btn btn-default"><i
                        class="fa fa-plus"></i>添加
                </button>
                <button type="button" class=" btn btn-default"><i class="fa fa-trash-o"></i>删除</button>
            </div>
            <span style="display: inline-block;float: left;">
            <input type="text" placeholder="请输入机构名称" ng-model="test"
                   class="inpu" style="background:url(<%=path%>/uc/public/images/sec.png) center right no-repeat;">
            <button type="button" class=" btn btn-default an"> 高级搜索 <i class="fa fa-chevron-down"></i></button>
            </span>
        </div>
        <div class="t-asd">
            <div style="display: inline-block;width: 100%;">
                <input type="text" placeholder="场所名称" ng-model="test"
                       class="t-fg" style="margin-left: -10px;">
                <select class="t-fg">
                    <option>所属机构</option>
                </select>
                <select class="t-fg">
                    <option>场所类型</option>
                    <option>广场</option>
                    <option>学校</option>
                </select>
                <select class="t-fg">
                    <option>行政区划</option>
                </select>
                <select class="t-fg">
                    <option>场所状态</option>
                </select>
            </div>
            <div class="t-q">
                <span><i class="fa fa-search  "></i> 搜索</span>
                <span><i class="fa fa-trash-o"></i>清空</span>
            </div>
        </div>
        <table class="table table1 bn" ng-app="myApp" ng-controller="productController">
            <thead>
            <tr>
                <th><input id="flag" type="checkbox" ng-model="select_all" ng-change="selectAll()"></th>
                <th ng-class="{dropup:order ===''}" ng-click="changeOrder('dz')"> 场所名称<span
                        class="caret"></span></th>
                <th ng-class="{dropup:order ===''}" ng-click="changeOrder('xy')"> 所属机构<span
                        class="caret"></span></th>
                <th ng-class="{dropup:order ===''}" ng-click="changeOrder('hk')"> 场所类型<span
                        class="caret"></span></th>
                <th ng-class="{dropup:order ===''}" ng-click="changeOrder('kl')"> 预案体系<span
                        class="caret"></span></th>
                <th ng-class="{dropup:order ===''}" ng-click="changeOrder('name')"> 详细地址<span
                        class="caret"></span></th>
                <th ng-class="{dropup:order ===''}" ng-click="changeOrder('gh')"> 场所状态<span
                        class="caret"></span></th>
                <th ng-class="{dropup:order === ''}" ng-click="changeOrder('price')">&nbsp;</th>
            </tr>
            </thead>
            <tbody>
            <tr ng-repeat="product in products | filter:search | orderBy : order+orderType">
                <td><input type="checkbox"></td>
                <td> {{product.dz}}</td>
                <td> {{product.xy}}</td>
                <td> {{product.hk}}</td>
                <td> {{product.kl}}</td>
                <td> {{product.name}}</td>
                <td> {{product.gh}}</td>
                <td>
                    <i class="fa fa-pencil-square-o"></i>
                    <i class="fa fa-trash-o" ng-click="del($index)"></i>
                    <i class="fa fa-search "></i>
                </td>
            </tr>
            </tbody>
        </table>
        <div>
            <!-- fenye分页-->

            <div class="page-bar">
                <a href="javascript:void(0);" title="首页"><img src="<%=path%>/uc/public/images/upd.png"> </a>
                <a href="javascript:void(0);" title="上一页"><img src="<%=path%>/uc/public/images/up.png"></a>
                <a href="javascript:void(0);">1</a>
                <b>…</b>
                <a href="javascript:void(0);">3</a>
                <a href="javascript:void(0);" class="active">4</a>

                <a href="javascript:void(0);">12</a>
                <a href="javascript:void(0);" title="下一页"><img src="<%=path%>/uc/public/images/last.png"></a>
                <a href="javascript:void(0);" title="最后一页"><img src="<%=path%>/uc/public/images/lastd.png"></a>

            </div>
            <span style="display: inline-block;float: right;margin-right: 20px;margin-top:20px;">
                每页显示  <select style="border: 1px solid #d8e0e9;border-radius:3px;width: 40px;height: 28px; ">
                    <option>10</option>
                </select>
                共83行
               </span>
        </div>
    </div> --%>
</div>

<!--  页脚-->
<div class="footer">
    <div class="ft">
        友情链接： 中信国安
    </div>
    <div class="fot">
        四川泰尔科技有限公司 版权所有 | www.sctaier.com | 客服电话：400-804-7755
    </div>
</div>

<script type=text/javascript>

//加载初始化首页
function loadInit() {alert("tbiao begin");
	$.ajax( {
		type : "POST",
		url : '<%=path%>/datacenter/addressarea/index.action',
		success : function(response) {
			$("#right_div").html(response);
		},
		error : function() {
			//$.ligerDialog.error('服务器繁忙，请稍后再试');
		}
	});
};


$(function() {
	loadInit();
});

</script>

<!-- 表格js-->
<script type="text/javascript" src="<%=path%>uc/public/js/td.js"></script>
<script src="<%=path%>/uc/public/js/jquery.min.js"></script>
<script src="<%=path%>/uc/public/js/bootstrap.min.js"></script>
<!--   活动菜单，内部页面调用-->
<script src="<%=path%>/uc/public/js/t-menu.js"></script>
</body>
</html>



